package org.example.carsystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.carsystem.domain.SysRole;
import org.example.carsystem.domain.vo.RoleVo;

import java.util.Date;
import java.util.List;

@Mapper
public interface RoleMapper {

    List<SysRole> rolesSelect(@Param("roleName") String roleName, @Param("roleKey") String roleKey, @Param("status") String status,
                              @Param("createStartTime") Date createStartTime, @Param("createEndTime") Date createEndTime);

    List<RoleVo> rolesSelectAll();
}
